<?php
namespace backend\controllers;

use yii;
use yii\web\Controller;
use yii\base\Action;
use backend\components\Utools;


class UploadController extends Controller
{
    //独立动作，上传操作
    public function actions()
    {
        return [
            'upload' => [
                'class' => 'common\action\UploadAction',       //独立动作url
                'config' => [
                    "is_html"=>false,                                         //是否静态化
                ],
            ],
        ];
    }
    
    
    /**
     * 接口说明
     */
    public function actionIndex()
    {
        echo '后端统一上传接口';
    }

   


    
}